local ____lualib = require("lualib_bundle")
local __TS__Class = ____lualib.__TS__Class
local __TS__SourceMapTraceBack = ____lualib.__TS__SourceMapTraceBack
__TS__SourceMapTraceBack(debug.getinfo(1).short_src, {["6"] = 1,["7"] = 1,["8"] = 3,["9"] = 3,["10"] = 3,["12"] = 3,["13"] = 7,["14"] = 8,["15"] = 9,["16"] = 10,["17"] = 11,["19"] = 12,["20"] = 12,["21"] = 13,["22"] = 14,["23"] = 15,["25"] = 12,["28"] = 18,["29"] = 7});
local ____exports = {}
local ____player = require("kernel.util.player")
local KPlayer = ____player.default
____exports.default = __TS__Class()
local KPlayerGroup = ____exports.default
KPlayerGroup.name = "KPlayerGroup"
function KPlayerGroup.prototype.____constructor(self)
end
function KPlayerGroup.fromPlaying(self)
    local camp = gameapi.get_camp_by_camp_id(1)
    local g = gameapi.get_role_ids_by_camp(camp)
    local num = globalapi.get_player_group_num(g)
    local list = {}
    do
        local i = 0
        while i <= num do
            local role = gameapi.get_role_by_int(i)
            if role then
                list[#list + 1] = KPlayer:fromRole(role)
            end
            i = i + 1
        end
    end
    return list
end
return ____exports
